package com.yyk.yykywd.bean;

/**
 * 登录（ggk）
 */

public class LoginLoginInfo {

    /**
     * code : 200
     * msg : 登录成功
     * data : {"id":59,"name":"陈部长","phone":"15022222222","pname":"部长","dname":"商务四部","did":5,"type":1,"flag":2}
     */

    private int code;
    private String msg;
    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 59
         * name : 陈部长
         * phone : 15022222222
         * pname : 部长
         * dname : 商务四部
         * did : 5
         * type : 1
         * flag : 2
         */

        private int id;
        private String name;
        private String phone;
        private String pname;
        private String dname;
        private int did;
        private int type;
        private int flag;
        private int is_staff;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        public String getPname() {
            return pname;
        }

        public void setPname(String pname) {
            this.pname = pname;
        }

        public String getDname() {
            return dname;
        }

        public void setDname(String dname) {
            this.dname = dname;
        }

        public int getDid() {
            return did;
        }

        public void setDid(int did) {
            this.did = did;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public int getFlag() {
            return flag;
        }

        public void setFlag(int flag) {
            this.flag = flag;
        }

        public int getIs_staff() {
            return is_staff;
        }

        public void setIs_staff(int is_staff) {
            this.is_staff = is_staff;
        }
    }
}
